package Io;

import java.io.FileInputStream;
import java.io.IOException;

public class Tset2 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("fos.txt");
        /*while (true){
            int d = fis.read();
            if (d == -1){
                break;
            }
            System.out.println((char)d);*/

        int d;
        while ((d = fis.read()) != -1) {
            System.out.print((char) d);
        }
    }
}
